package com.emptyMe.user.domain;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Long id;
    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private Integer state = 0; //已注册0 已激活1,禁用2,默认为状态0 已注册
    private Integer age;
    private Date createtime = new Date();
    private String headImg;
    private String nickname;
    private String realname;
    private String idnum;
    private Long sex;

}
